﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace GoDinner.Models
{
    //[Table("Reserveringen")]
    public class Reservering
    {
        public int Id { get; set; }

        public virtual UserProfile User { get; set; }
        public int UserId { get; set; }

        public bool IsGoedgekeurd { get; set; }
        public double TotaalBedrag { get; set; }

        [DataType(DataType.Date)]
        public DateTime datum { get; set; }

       
        public virtual ICollection<ReserveringDetails> ReserveringDetails { get; set; }
    }
}